package edu.neusoft.sa.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import edu.neusoft.sa.dao.StoryMapper;
import edu.neusoft.sa.entity.Story;
import edu.neusoft.sa.service.StoryService;

@Service
public class StoryServiceImpl implements StoryService {

	@Autowired
	StoryMapper storyMapper;
	
	public Story[] findAllPublished() {
		return storyMapper.findAllPublished();
	}

}
